Панельный лист |
Расположение в меню |
---|
Arch → Инструменты панелирования → Панельный лист |
Верстаки |
Arch |
Быстрые клавиши |
P S |
Представлено в версии |
0.17 |
См. также |
Паенль, Панельный контур, Компоновка |
This tool allows to build a 2D sheet, including any number of Arch Panel Cut objects, or any other 2D object such as those made by the Draft Workbench and Sketcher Workbench. The Panel Sheet is typically made to layout cuts to be made by a CNC machine. These sheets can then be exported to a DXF file.
"На приведенном выше изображении показано, как выглядят листы раскроеные на плоские панельные элементы при экспорте в формат DXF".
See also: Arch API and FreeCAD Scripting Basics.
The Panel sheet tool can be used in macros and from the Python console by using the following function:
Sheet = makePanelSheet(panels=[], name="PanelSheet")
Sheet
object from panels
, which is a list of Arch Panel objects.Пример:
import FreeCAD, Draft, Arch
Rect = Draft.makeRectangle(500, 200)
Polygon = Draft.makePolygon(5, 750)
p1 = FreeCAD.Vector(1000, 0, 0)
p2 = FreeCAD.Vector(2000, 400, 0)
p3 = FreeCAD.Vector(1250, 800, 0)
Wire = Draft.makeWire([p1, p2, p3], closed=True)
Panel1 = Arch.makePanel(Rect, thickness=36)
Panel2 = Arch.makePanel(Polygon, thickness=36)
Panel3 = Arch.makePanel(Wire, thickness=36)
FreeCAD.ActiveDocument.recompute()
Cut1 = Arch.makePanelCut(Panel1)
Cut2 = Arch.makePanelCut(Panel2)
Cut3 = Arch.makePanelCut(Panel3)
Cut1.ViewObject.LineWidth = 3
Cut2.ViewObject.LineWidth = 3
Cut3.ViewObject.LineWidth = 3
FreeCAD.ActiveDocument.recompute()
Sheet = Arch.makePanelSheet([Cut1, Cut2, Cut3])